package com.qianyu.project.mapper;

import com.qianyu.project.entity.SecurityCheckRectification;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qianyu.project.mapper.provider.zxm.SecurityCheckProvider;
import com.qianyu.project.mapper.provider.zxm.SecurityLogProvider;
import org.apache.ibatis.annotations.DeleteProvider;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.UpdateProvider;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 安全检查记录整改 Mapper 接口
 * </p>
 *
 * @author gs
 * @since 2021-01-30
 */
@Repository
public interface SecurityCheckRectificationMapper extends BaseMapper<SecurityCheckRectification> {
    @SelectProvider(method = "getSecurityCheck",value = SecurityCheckProvider.class )
    List<SecurityCheckRectification> getSecurityCheck(SecurityCheckRectification ss);
@DeleteProvider(method = "deleteSecurityCheckId",value = SecurityCheckProvider.class )
    void deleteSecurityCheckId(String id);
@InsertProvider(method = "addsecuritycheck",value = SecurityCheckProvider.class )
    void addsecuritycheck(SecurityCheckRectification ss);
@UpdateProvider(method = "updateSecurityCheck",value = SecurityCheckProvider.class )
    void updateSecurityCheck(SecurityCheckRectification ss);
}
